Skip to content

Add Flood Crew, a first-person flood-drainage game - #323

Merged
ngcoding10 merged 8 commits into
ASCoding11:mainfrom
ngcoding10:drain-game
Nov 26, 2026
Merged

ngcoding10 merged 8 commits into
ASCoding11:mainfrom
ngcoding10:drain-game

Conversation

@ngcoding10

Copy link
Copy Markdown
Collaborator
  • This follows the Leaf Sweep pull request, which is already merged: the branch is up to date with main and adds only Flood Crew (13 files).
  • Adds Flood Crew, a new single-player Back Room game in e63334287a3deaa3/ebbwork/ (the folder and the save key keep its first name, Ebbwork). Each job is a flooded place: you work out why it flooded (a buried drain, a leak, a broken bank, ground with no way out) and get it dry with a rake, bucket, wrench, shovel, sandbags, squeegee and a pump that needs power and a hose. Six jobs, a depot with a job board, a gear shop and a van, stars and pay.
  • Merging this publishes the game. It adds a card with a "New" badge at the end of Arcade on the Back Room page (and so on the home page's copy), a tile on the phone page and a What's new entry.
  • Pages changed besides the game's own folder: e63334287a3deaa3/index.html (the card; Arcade now says 9 games and its line mentions the flood game; the header goes from twenty-nine to thirty games), e63334287a3deaa3/m/index.html (one row) and its thumbnail, e63334287a3deaa3/es.js (Spanish for the card), README.md (the game's section, the Arcade list, and the subagent count, now 71 to match the files), .claude/agents/flood-crew.md and one line in .claude/scripts/gen_game_agents.py.
  • It is our own design: the name, places, tools, prices and text are original.
  • Known and not fixed here: the Back Room header's game total was already out of date on main (the section counts add up to more than the header says); this only adds one to it.

Not tested

  • No real phone, Chromebook or other real device. All testing was in a headless browser with an emulated graphics card.
  • Frame rate is unknown. Counts that are real anywhere: 35 to 66 draw calls, 8,000 to 22,000 triangles, about 1 ms of script a frame at phone size, about 1 MB page weight (most of it three.js).
  • Sound has never been heard. It is all generated in code and was written blind; volumes may be wrong.
  • Mouse look was never verified (the test browser reports no mouse movement). Touch look was.
  • No job has been played by hand from start to finish. Each was finished by a script calling the same tool functions the page uses, which shows it can be done, not that it is fun.
  • Balance is untried: prices, target times, clue wording, and two long jobs (about 10 and 15 minutes for the script).
  • Spanish was written by the author and not checked by a Spanish speaker.

Data and risk

  • Saves only to localStorage ebbwork:v1 in the player's browser. No Firebase, no rooms, no stats.js or Leaderboards, no ads, no outside scripts beyond the site's own three.js and Google Fonts.
  • No changes to Firebase rules or config, workflows, account/, analytics/, ads, robots.txt, sitemap.xml, _redirects or _routes.json. The page is noindex and not in the sitemap.
  • No existing game's code or saved data is touched. The shared Spanish file and the Back Room and phone pages only gain lines for the new game and the updated counts.
  • Its What's new entry is one new file, e63334287a3deaa3/news/ngcoding10-drain-game.json, so news.js is not edited here.

Generated by Claude Code

…site)

A first-person flood-drainage game for the Back Room. This commit has the
water simulation, one job (a back yard with a buried drain and a split
pipe), the rake, bucket and stop tap, walking and touch controls, and
saving. No card, phone row or What's new entry yet, so nothing on the
site points at it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7oof2mCeBWM93T7t4
…in progress)

Adds the depot (job board, gear bench, van), five more jobs, and the
shovel, squeegee, sandbags, pump with power and hose, generator and
debris sack, plus sound made in code and a first-job walkthrough.
Still not linked from anywhere on the site.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7oof2mCeBWM93T7t4
… page

- Water now mirrors the buildings on High graphics; sky, brickwork,
  contact shading and a smaller first-person arm.
- Phone layout reworked so nothing overlaps upright or sideways; an
  automatic step down to Low graphics on slow machines.
- Spanish for the whole game.
- Card in the Arcade section, phone row and thumbnail, README section,
  What's new entry and the game's subagent. The Back Room header now
  says thirty games.

This stays on the fork branch: it has not been played on a real phone
or laptop yet.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7oof2mCeBWM93T7t4
A tap shorter than one frame was missed, so the job board, shop, van and
pump switch could ignore a tap on a phone.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7oof2mCeBWM93T7t4
…wn file

Below about 20 frames a second the game used to run in slow motion. It
now catches up (to a quarter of a second a frame), with walking split
into short steps so nobody passes through a wall. game.js is a separate
file again, beside core.js.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7oof2mCeBWM93T7t4
The owner chose a name that says what the game is. Only the name players
and editors read changes; the folder (ebbwork/) and the save key
(ebbwork:v1) stay, so nothing saved is lost.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7oof2mCeBWM93T7t4
Both add a card to Arcade and change the same counts. Arcade now lists
both (9 games, Leaf Sweep then Flood Crew), the Back Room header says
thirty-one games, the phone page has both rows, and the README counts
71 subagents.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7oof2mCeBWM93T7t4
Main now has Leaf Sweep published, so this branch follows it and adds
only Flood Crew. README keeps everything from main plus the Flood Crew
section; Arcade says 9 games, the header says thirty games (main's
twenty-nine plus this one), and there are 71 subagents.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7oof2mCeBWM93T7t4
@netlify

netlify Bot commented Nov 26, 2026

Copy link
Copy Markdown

👷 Deploy request for cosmic-dasik-e73c56 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 50bfc1c

@netlify

netlify Bot commented Nov 26, 2026

Copy link
Copy Markdown

👷 Deploy request for ascoding11 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 50bfc1c

@ngcoding10
ngcoding10 merged commit b02c1a5 into ASCoding11:main Nov 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants